import pandas as pd
import numpy as np

def get_supervised_data(data_folder= 'C:\DC_data'):
    train_X = pd.read_csv(data_folder + '/train_x.csv')
    train_X =  np.asarray(train_X,dtype=np.float32)
    train_y = pd.read_csv(data_folder + '/train_y.csv')
    train_y = np.asarray(train_y,dtype=np.int8)
    return train_X[:,1:], train_y[:,1:]

def get_submit_raw_data(data_folder):
    test_data = pd.read_csv(data_folder + '/test_x.csv')
    test_data =  np.asarray(test_data,dtype=np.float32)
    return test_data
